<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>C++ Web Framework: /home/herik/CPPWebFramework/CPPWebFramework/cwf/httpparser.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">C++ Web Framework
   &#160;<span id="projectnumber">3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b2448bd9c6b97c57da490a507d179d6c.html">CPPWebFramework</a></li><li class="navelem"><a class="el" href="dir_3bacee99d34edff13677baafd8c3a47f.html">cwf</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">httpparser.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> Copyright 2017 Herik Lima de Castro and Marcelo Medeiros Eler</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> Distributed under MIT license, or public domain if desired and</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> recognized in your jurisdiction.</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> See file LICENSE for detail.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef HTTPPARSER_H</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#define HTTPPARSER_H</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;QMap&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;QVector&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;QByteArray&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;QNetworkCookie&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;cppwebframework_global.h&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;CWF_BEGIN_NAMESPACE</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_http_parser.html">   21</a></span>&#160;<span class="keyword">class </span>CPPWEBFRAMEWORKSHARED_EXPORT <a class="code" href="class_http_parser.html">HttpParser</a></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;{</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_http_read_request.html">HttpReadRequest</a>;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    qint64     contentLenght = 0;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    QByteArray contentType;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    QByteArray httpVersion;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    QByteArray method;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    QByteArray body;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    QByteArray sessionId;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    QByteArray url;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    QMultiMap&lt;QByteArray, QByteArray&gt; parameters;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    QMultiMap&lt;QByteArray, QByteArray&gt; headerField;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    QMultiMap&lt;QByteArray, QByteArray&gt; files;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    QVector&lt;QNetworkCookie&gt; cookies;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keywordtype">bool</span>    valid     = <span class="keyword">false</span>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="keywordtype">bool</span>    multiPart = <span class="keyword">false</span>;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordtype">bool</span>    readFile  = <span class="keyword">false</span>;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordtype">bool</span>    extractHeaderAndBody(QByteArray &amp;httpMessage);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="keywordtype">void</span>    doParse(QByteArray &amp;httpMessage);</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keywordtype">void</span>    doParseHttpHeader(QByteArray &amp;httpMessage);</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keywordtype">void</span>    doParseUrl();</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span>    doParseBody();</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keywordtype">void</span>    doParseFiles();</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordtype">void</span>    extractCookies();</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_http_parser.html#a91e6c1876337b53694347476f277d1a2">   50</a></span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_http_parser.html#a91e6c1876337b53694347476f277d1a2">HttpParser</a>(QByteArray &amp;httpMessage) { doParse(httpMessage); }</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_http_parser.html#a3feddc6667494af792866935f4ccf794">   55</a></span>&#160;    <span class="keyword">inline</span> qint64 <a class="code" href="class_http_parser.html#a3feddc6667494af792866935f4ccf794">getContentLenght</a>() const noexcept { <span class="keywordflow">return</span> contentLenght; }</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_http_parser.html#ae17e4400169606e640fda4be21a5421b">   60</a></span>&#160;    <span class="keyword">inline</span> QByteArray <a class="code" href="class_http_parser.html#ae17e4400169606e640fda4be21a5421b">getContentType</a>() const noexcept { <span class="keywordflow">return</span> contentType; }</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_http_parser.html#a58b5506be135040e9c1c1aa84be3090a">   65</a></span>&#160;    <span class="keyword">inline</span> QByteArray <a class="code" href="class_http_parser.html#a58b5506be135040e9c1c1aa84be3090a">getHttpVersion</a>() const noexcept { <span class="keywordflow">return</span> httpVersion; }</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_http_parser.html#a307aeb76a3a03ab84f3ae090038760ba">   70</a></span>&#160;    <span class="keyword">inline</span> QByteArray <a class="code" href="class_http_parser.html#a307aeb76a3a03ab84f3ae090038760ba">getMethod</a>() const noexcept { <span class="keywordflow">return</span> method; }</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_http_parser.html#a730d8fa411954d674f602aa385869751">   75</a></span>&#160;    <span class="keyword">inline</span> QByteArray <a class="code" href="class_http_parser.html#a730d8fa411954d674f602aa385869751">getBody</a>() const noexcept { <span class="keywordflow">return</span> body; }</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_http_parser.html#ad2c849df15ec861fca8911c0519747ae">   80</a></span>&#160;    <span class="keyword">inline</span> QByteArray <a class="code" href="class_http_parser.html#ad2c849df15ec861fca8911c0519747ae">getSessionId</a>() const noexcept { <span class="keywordflow">return</span> sessionId; }</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="class_http_parser.html#a4fe7e2b589ec377ae0632d12c0db2109">   85</a></span>&#160;    <span class="keyword">inline</span> QByteArray <a class="code" href="class_http_parser.html#a4fe7e2b589ec377ae0632d12c0db2109">getUrl</a>() const noexcept { <span class="keywordflow">return</span> url; }</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_http_parser.html#aec19aa9b28449ed359dd0e516f24f3c4">   94</a></span>&#160;    <span class="keyword">inline</span> QByteArray <a class="code" href="class_http_parser.html#aec19aa9b28449ed359dd0e516f24f3c4">getParameter</a>(<span class="keyword">const</span> QByteArray &amp;name) <span class="keyword">const</span> noexcept { <span class="keywordflow">return</span> parameters.value(name); }</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="class_http_parser.html#aa0df65d83e9bdb39a6a667d55de1b742">  100</a></span>&#160;    <span class="keyword">inline</span> QByteArrayList <a class="code" href="class_http_parser.html#aa0df65d83e9bdb39a6a667d55de1b742">getParameters</a>(<span class="keyword">const</span> QByteArray &amp;name) <span class="keyword">const</span> noexcept { <span class="keywordflow">return</span> parameters.values(name); }</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_http_parser.html#a98e85a16d456f61fa032c8d3d9a8c1ba">  105</a></span>&#160;    <span class="keyword">inline</span> QMultiMap&lt;QByteArray, QByteArray&gt; <a class="code" href="class_http_parser.html#a98e85a16d456f61fa032c8d3d9a8c1ba">getParameters</a>() const noexcept { <span class="keywordflow">return</span> parameters; }</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_http_parser.html#abbb9bc6fdfbc6f40629d2f8033c9f17f">  110</a></span>&#160;    <span class="keyword">inline</span> QMultiMap&lt;QByteArray, QByteArray&gt; <a class="code" href="class_http_parser.html#abbb9bc6fdfbc6f40629d2f8033c9f17f">getUploadedFiles</a>() const noexcept { <span class="keywordflow">return</span> files; }</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_http_parser.html#ac07c6676461725678a6fe7fcae7e79f7">  115</a></span>&#160;    <span class="keyword">inline</span> QVector&lt;QNetworkCookie&gt; <a class="code" href="class_http_parser.html#ac07c6676461725678a6fe7fcae7e79f7">getCookies</a>() const noexcept { <span class="keywordflow">return</span> cookies; }</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="class_http_parser.html#ab29e0fad07ccfa2ad565d1cc32da76cc">  121</a></span>&#160;    <span class="keyword">inline</span> QByteArrayList <a class="code" href="class_http_parser.html#ab29e0fad07ccfa2ad565d1cc32da76cc">getHeaderFields</a>(<span class="keyword">const</span> QByteArray &amp;name) <span class="keyword">const</span> noexcept { <span class="keywordflow">return</span> headerField.values(name); }</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="class_http_parser.html#adabda41fe6457ab14b573a32085c2eea">  130</a></span>&#160;    <span class="keyword">inline</span> QByteArray <a class="code" href="class_http_parser.html#adabda41fe6457ab14b573a32085c2eea">getHeaderField</a>(<span class="keyword">const</span> QByteArray &amp;name) <span class="keyword">const</span> noexcept { <span class="keywordflow">return</span> headerField.value(name); }</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_http_parser.html#a6d5020425a4dff7b78acbf37a20cccba">  135</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="class_http_parser.html#a6d5020425a4dff7b78acbf37a20cccba">isValid</a>() const noexcept { <span class="keywordflow">return</span> valid; }</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="class_http_parser.html#a83946a3296e540751e5715d974dc12b1">  140</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="class_http_parser.html#a83946a3296e540751e5715d974dc12b1">isMultiPart</a>() const noexcept { <span class="keywordflow">return</span> multiPart; }</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="class_http_parser.html#a3be6ae977af47186d80b67f26b4cbd69">  145</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="class_http_parser.html#a3be6ae977af47186d80b67f26b4cbd69">getReadFile</a>() const noexcept { <span class="keywordflow">return</span> readFile; }</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;};</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;CWF_END_NAMESPACE</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">#endif // HTTPPARSER_H</span></div><div class="ttc" id="class_http_parser_html_a91e6c1876337b53694347476f277d1a2"><div class="ttname"><a href="class_http_parser.html#a91e6c1876337b53694347476f277d1a2">HttpParser::HttpParser</a></div><div class="ttdeci">HttpParser(QByteArray &amp;httpMessage)</div><div class="ttdoc">This constructor receives a HTTP message and parses it. </div><div class="ttdef"><b>Definition:</b> httpparser.h:50</div></div>
<div class="ttc" id="class_http_parser_html_adabda41fe6457ab14b573a32085c2eea"><div class="ttname"><a href="class_http_parser.html#adabda41fe6457ab14b573a32085c2eea">HttpParser::getHeaderField</a></div><div class="ttdeci">QByteArray getHeaderField(const QByteArray &amp;name) const noexcept</div><div class="ttdoc">Returns a specific header field given a name. If the header field name does not exists, the function returns defaultValue. If no defaultValue is specified, the function returns a default-constructed value. If there are multiple header field with a name, the value of the most recently inserted one is returned. </div><div class="ttdef"><b>Definition:</b> httpparser.h:130</div></div>
<div class="ttc" id="class_http_parser_html_ad2c849df15ec861fca8911c0519747ae"><div class="ttname"><a href="class_http_parser.html#ad2c849df15ec861fca8911c0519747ae">HttpParser::getSessionId</a></div><div class="ttdeci">QByteArray getSessionId() const noexcept</div><div class="ttdoc">Returns session id. </div><div class="ttdef"><b>Definition:</b> httpparser.h:80</div></div>
<div class="ttc" id="class_http_parser_html_a3feddc6667494af792866935f4ccf794"><div class="ttname"><a href="class_http_parser.html#a3feddc6667494af792866935f4ccf794">HttpParser::getContentLenght</a></div><div class="ttdeci">qint64 getContentLenght() const noexcept</div><div class="ttdoc">Returns the content lenght. </div><div class="ttdef"><b>Definition:</b> httpparser.h:55</div></div>
<div class="ttc" id="class_http_parser_html_aa0df65d83e9bdb39a6a667d55de1b742"><div class="ttname"><a href="class_http_parser.html#aa0df65d83e9bdb39a6a667d55de1b742">HttpParser::getParameters</a></div><div class="ttdeci">QByteArrayList getParameters(const QByteArray &amp;name) const noexcept</div><div class="ttdoc">Returns all parameters with a specific name. </div><div class="ttdef"><b>Definition:</b> httpparser.h:100</div></div>
<div class="ttc" id="class_http_parser_html_a58b5506be135040e9c1c1aa84be3090a"><div class="ttname"><a href="class_http_parser.html#a58b5506be135040e9c1c1aa84be3090a">HttpParser::getHttpVersion</a></div><div class="ttdeci">QByteArray getHttpVersion() const noexcept</div><div class="ttdoc">Returns the HTTP version. </div><div class="ttdef"><b>Definition:</b> httpparser.h:65</div></div>
<div class="ttc" id="class_http_parser_html_a307aeb76a3a03ab84f3ae090038760ba"><div class="ttname"><a href="class_http_parser.html#a307aeb76a3a03ab84f3ae090038760ba">HttpParser::getMethod</a></div><div class="ttdeci">QByteArray getMethod() const noexcept</div><div class="ttdoc">Returns HTTP method. </div><div class="ttdef"><b>Definition:</b> httpparser.h:70</div></div>
<div class="ttc" id="class_http_parser_html_ab29e0fad07ccfa2ad565d1cc32da76cc"><div class="ttname"><a href="class_http_parser.html#ab29e0fad07ccfa2ad565d1cc32da76cc">HttpParser::getHeaderFields</a></div><div class="ttdeci">QByteArrayList getHeaderFields(const QByteArray &amp;name) const noexcept</div><div class="ttdoc">Returns all header fields given a specific name. </div><div class="ttdef"><b>Definition:</b> httpparser.h:121</div></div>
<div class="ttc" id="class_http_parser_html_ae17e4400169606e640fda4be21a5421b"><div class="ttname"><a href="class_http_parser.html#ae17e4400169606e640fda4be21a5421b">HttpParser::getContentType</a></div><div class="ttdeci">QByteArray getContentType() const noexcept</div><div class="ttdoc">Returns the content type. </div><div class="ttdef"><b>Definition:</b> httpparser.h:60</div></div>
<div class="ttc" id="class_http_read_request_html"><div class="ttname"><a href="class_http_read_request.html">HttpReadRequest</a></div><div class="ttdoc">The HttpReadRequest class is created automatically by the CppWebServer and inserted   in a QThreadPoo...</div><div class="ttdef"><b>Definition:</b> httpreadrequest.h:36</div></div>
<div class="ttc" id="class_http_parser_html_a3be6ae977af47186d80b67f26b4cbd69"><div class="ttname"><a href="class_http_parser.html#a3be6ae977af47186d80b67f26b4cbd69">HttpParser::getReadFile</a></div><div class="ttdeci">bool getReadFile() const noexcept</div><div class="ttdoc">Returns true if all message was read. </div><div class="ttdef"><b>Definition:</b> httpparser.h:145</div></div>
<div class="ttc" id="class_http_parser_html_a98e85a16d456f61fa032c8d3d9a8c1ba"><div class="ttname"><a href="class_http_parser.html#a98e85a16d456f61fa032c8d3d9a8c1ba">HttpParser::getParameters</a></div><div class="ttdeci">QMultiMap&lt; QByteArray, QByteArray &gt; getParameters() const noexcept</div><div class="ttdoc">Returns all parameters. </div><div class="ttdef"><b>Definition:</b> httpparser.h:105</div></div>
<div class="ttc" id="class_http_parser_html_a6d5020425a4dff7b78acbf37a20cccba"><div class="ttname"><a href="class_http_parser.html#a6d5020425a4dff7b78acbf37a20cccba">HttpParser::isValid</a></div><div class="ttdeci">bool isValid() const noexcept</div><div class="ttdoc">Returns true if HTTP is valid, else it returns false. </div><div class="ttdef"><b>Definition:</b> httpparser.h:135</div></div>
<div class="ttc" id="class_http_parser_html_a4fe7e2b589ec377ae0632d12c0db2109"><div class="ttname"><a href="class_http_parser.html#a4fe7e2b589ec377ae0632d12c0db2109">HttpParser::getUrl</a></div><div class="ttdeci">QByteArray getUrl() const noexcept</div><div class="ttdoc">Returns the url. </div><div class="ttdef"><b>Definition:</b> httpparser.h:85</div></div>
<div class="ttc" id="class_http_parser_html_a83946a3296e540751e5715d974dc12b1"><div class="ttname"><a href="class_http_parser.html#a83946a3296e540751e5715d974dc12b1">HttpParser::isMultiPart</a></div><div class="ttdeci">bool isMultiPart() const noexcept</div><div class="ttdoc">Returns the multi part. </div><div class="ttdef"><b>Definition:</b> httpparser.h:140</div></div>
<div class="ttc" id="class_http_parser_html_ac07c6676461725678a6fe7fcae7e79f7"><div class="ttname"><a href="class_http_parser.html#ac07c6676461725678a6fe7fcae7e79f7">HttpParser::getCookies</a></div><div class="ttdeci">QVector&lt; QNetworkCookie &gt; getCookies() const noexcept</div><div class="ttdoc">Returns all cookies. </div><div class="ttdef"><b>Definition:</b> httpparser.h:115</div></div>
<div class="ttc" id="class_http_parser_html"><div class="ttname"><a href="class_http_parser.html">HttpParser</a></div><div class="ttdoc">The class parses a HTTP message. </div><div class="ttdef"><b>Definition:</b> httpparser.h:21</div></div>
<div class="ttc" id="class_http_parser_html_a730d8fa411954d674f602aa385869751"><div class="ttname"><a href="class_http_parser.html#a730d8fa411954d674f602aa385869751">HttpParser::getBody</a></div><div class="ttdeci">QByteArray getBody() const noexcept</div><div class="ttdoc">Returns HTTP body message. </div><div class="ttdef"><b>Definition:</b> httpparser.h:75</div></div>
<div class="ttc" id="class_http_parser_html_abbb9bc6fdfbc6f40629d2f8033c9f17f"><div class="ttname"><a href="class_http_parser.html#abbb9bc6fdfbc6f40629d2f8033c9f17f">HttpParser::getUploadedFiles</a></div><div class="ttdeci">QMultiMap&lt; QByteArray, QByteArray &gt; getUploadedFiles() const noexcept</div><div class="ttdoc">Returns all uploaded files. </div><div class="ttdef"><b>Definition:</b> httpparser.h:110</div></div>
<div class="ttc" id="class_http_parser_html_aec19aa9b28449ed359dd0e516f24f3c4"><div class="ttname"><a href="class_http_parser.html#aec19aa9b28449ed359dd0e516f24f3c4">HttpParser::getParameter</a></div><div class="ttdeci">QByteArray getParameter(const QByteArray &amp;name) const noexcept</div><div class="ttdoc">Returns a specific parameter given a name. If the parameter name does not exists, the function return...</div><div class="ttdef"><b>Definition:</b> httpparser.h:94</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 28 2018 11:09:08 for C++ Web Framework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
